
<form action="" method="post" class="we7-form" enctype="multipart/form-data" id="form1">
	<input type="hidden" name="id" value="{$info['id']}">
    <div class="form-group">

        注:续租佣金直接累计到原来的租车订单;订单完成时，佣金才会结算给分销商

    </div>
	<div class="form-group">
		<label class="col-sm-2 control-label">分销层级：</label>
		<div class="col-sm-8 form-control-static">
			<input type="radio" name="indata[status]" id="status-1" {if $info['status']==0 || empty($info['status'])}checked="checked"{/if} value="0">
			<label class="radio-inline" for="status-1">不开启</label>
			<input type="radio" name="indata[status]" id="status-2" {if $info['status']==1}checked="checked"{/if} value="1">
			<label class="radio-inline" for="status-2">一级分销</label>
			<input type="radio" name="indata[status]" id="status-3" {if $info['status']==2}checked="checked"{/if} value="2">
			<label class="radio-inline" for="status-3">二级分销</label>
			<input type="radio" name="indata[status]" id="status-4" {if $info['status']==3}checked="checked"{/if} value="3">
			<label class="radio-inline" for="status-4">三级分销</label>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">分销内购：</label>
		<div class="col-sm-8 form-control-static">
			<input type="radio" name="indata[is_buyself]" id="is_buyself-1" id="lower_condition-1" {if $info['is_buyself']==0 || empty($info['is_buyself'])}checked="checked"{/if} value="0">
			<label class="radio-inline" for="is_buyself-1">关闭</label>
			<input type="radio" name="indata[is_buyself]" id="is_buyself-2" {if $info['is_buyself']==1}checked="checked"{/if} value="1">
			<label class="radio-inline" for="is_buyself-2">开启</label>
			<div>开启分销内购，分销商自己购买商品，享受一级佣金，上级享受二级佣金</div>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">成为下线条件：</label>
		<div class="col-sm-8 form-control-static">
			<input type="radio" name="indata[lower_condition]" id="lower_condition-1" {if $info['lower_condition']==1 || empty($info['lower_condition'])}checked="checked"{/if} value="0">
			<label class="radio-inline" for="lower_condition-1">首次点击链接</label>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">成为分销商条件：</label>
		<div class="col-sm-8 form-control-static">
			<input type="radio" name="indata[share_condition]" id="share_condition-1" {if $info['share_condition']==0 || empty($info['share_condition'])}checked="checked"{/if} value="0">
			<label class="radio-inline" for="share_condition-1">无条件（需要审核）</label>
			<input type="radio" name="indata[share_condition]" id="share_condition-2" {if $info['share_condition']==1}checked="checked"{/if} value="1">
			<label class="radio-inline" for="share_condition-2">申请（需要审核）</label>
			<input type="radio" name="indata[share_condition]" id="share_condition-3" {if $info['share_condition']==2}checked="checked"{/if} value="2">
			<label class="radio-inline" for="share_condition-3">无需审核</label>
		</div>
	</div>
	<!-- <div class="form-group">
		<label class="col-sm-2 control-label">消费自动成为分销商：</label>
		<div class="col-sm-8 form-control-static">
			<input type="text" class="form-control" name="indata[autoshare]" value="{$info['autoshare']}">
			<div>消费满指定金额自动成为分销商，0元表示不自动</div>
		</div>
	</div> -->
	<div class="form-group">
		<label class="col-sm-2 control-label">提现方式：</label>
		<div class="col-sm-8 form-control-static">
			<input type="checkbox" name="indata[withdrawtype][]" id="withdrawtype1" {php if(in_array(1,$info['withdrawtype']) || !$info['withdrawtype'])echo "checked";} value="1">
			<label for="withdrawtype1"> 微信支付</label>
			<!--<input type="checkbox" name="indata[withdrawtype][]" id="withdrawtype2" {php if(in_array(2,$info['withdrawtype']))echo "checked";} value="2">
			<label for="withdrawtype2"> 支付宝支付</label>
			<input type="checkbox" name="indata[withdrawtype][]" id="withdrawtype3" {php if(in_array(3,$info['withdrawtype']))echo "checked";} value="3">
			<label for="withdrawtype3"> 银行卡支付</label>
			<input type="checkbox" name="indata[withdrawtype][]" id="withdrawtype4" {php if(in_array(4,$info['withdrawtype']))echo "checked";} value="4">
			<label for="withdrawtype4"> 余额支付</label>-->
			<div>微信自动支付，需要申请微信支付的企业付款到零钱功能</div>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">最少提现额度：</label>
		<div class="col-sm-8 form-control-static">
			<input type="text" class="form-control" name="indata[minwithdraw]" value="{$info['minwithdraw']}">
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">每日提现上限：</label>
		<div class="col-sm-8 form-control-static">
			<input type="text" class="form-control" name="indata[daymaxwithdraw]" value="{$info['daymaxwithdraw']}">
			<div>0元表示不限制每日提现金额</div>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">提现手续费：</label>
		<div class="col-sm-8 form-control-static">
			<input type="text" class="form-control" name="indata[withdrawhandingfee]" value="{$info['withdrawhandingfee']}">%
			<div>
				0表示不设置提现手续费<br>
				例如：10%的提现手续费：<br>
				提现100元，手续费10元， 用户提现实际拿到90元
			</div>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">用户提现须知：</label>
		<div class="col-sm-8 form-control-static">
			<textarea class="form-control d_textarea" name="indata[withdrawnotice]">{$info['withdrawnotice']}</textarea>
		</div>
	</div>
	<!-- <div class="form-group">
		<label class="col-sm-2 control-label">提现到账模板消息id：</label>
		<div class="col-sm-8 form-control-static">
			<input type="text" class="form-control" name="indata[tpl_wd_arrival]" value="{$info['tpl_wd_arrival']}">
			<div>提现转账处理完成后向用户发送消息</div>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">提现失败模板消息id：</label>
		<div class="col-sm-8 form-control-static">
			<input type="text" class="form-control" name="indata[tpl_wd_fail]" value="{$info['tpl_wd_fail']}">
			<div>提现失败向用户发送消息</div>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">分销审核模板消息id：</label>
		<div class="col-sm-8 form-control-static">
			<input type="text" class="form-control" name="indata[tpl_share_check]" value="{$info['tpl_share_check']}">
			<div>分销审核结果向用户发送消息</div>
		</div>
	</div> -->
	<div class="form-group">
		<label class="col-sm-2 control-label">申请协议：</label>
		<div class="col-sm-8 form-control-static">
			<textarea class="form-control d_textarea" name="indata[application]">{$info['application']}</textarea>
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">申请页面banner：</label>
		<div class="col-sm-8 form-control-static">
			{php echo tpl_form_field_image('indata[applybanner]', $info['applybanner'])}
		</div>
	</div>
	<div class="form-group">
		<label class="col-sm-2 control-label">待审核页面banner：</label>
		<div class="col-sm-8 form-control-static">
			{php echo tpl_form_field_image('indata[checkbanner]', $info['checkbanner'])}
		</div>
	</div>

	<div class="form-group">
		<input type="submit" name="submit" value="提交" class="btn btn-primary col-lg-1" />
		<input type="hidden" name="token" value="{$_W['token']}" />
	</div>
</form>